﻿<UserControl x:Class="SVNClient.SVNMainContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Background="AliceBlue">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <StackPanel Background="AliceBlue" >
            <Label>Scieżka do pliku</Label>
            <Label Name="label1"></Label>
            <Button Name="GetLatestVersionButton" MaxWidth="200" HorizontalAlignment="Left" Margin="10" Click="GetLatestVersionButton_Click">Pobierz najnowsza wersję</Button>
            <TextBlock Margin="15 0"  Foreground="Black">Komentarz</TextBlock>
            <TextBox HorizontalAlignment="Left" MaxWidth="200" Height="60" MinWidth="150" Margin="10" Name="CommitText" MinHeight="60"></TextBox>
            <Button MaxWidth="200" Name="CommitButton" HorizontalAlignment="Left" Margin="10 0" Click="CommitButton_Click">Wyślij na serwer</Button>
            <Button MaxWidth="200" Name="AddButton" HorizontalAlignment="Left" Margin="10" Click="AddButton_Click">Dodaj plik</Button>
            
        </StackPanel>
        <StackPanel Background="AliceBlue" Grid.Column="1">
            <Label FontStyle="Oblique" FontWeight="Bold">Nazwa projektu</Label>
            <TextBlock Name="ProjectNameTextBlock"></TextBlock>
            <Label FontStyle="Oblique" FontWeight="Bold">Opis projektu</Label>
            <TextBlock Name="ProjectDescriptionTextBlock" TextWrapping="WrapWithOverflow"></TextBlock>
        </StackPanel>
        
    </Grid>
</UserControl>
